import type {WaterfallItemProps} from "@/components/Waterfall";

export function demoDataSource(length: number): WaterfallItemProps[] {

    return Array.from({length}, (v, i) => {
        return {
            id: Math.floor((i + Math.random()) * 10000),
            src: "https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
        }
    })
}